﻿using EnterpriseWebsiteUtil.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace EnterpriseWebsiteTest
{
    public class TestDTO
    {
        [LangSplitField("name")]
        public string name { set; get; }

        [LangSplitField("name", LangType.en)]
        public string nameEn { set; get; }

        public string title { set; get; }

        public List<ChildDTO> children { set; get; }
    }

    public class ChildDTO
    {
        [LangSplitField("childName")]
        public string childName { set; get; }

        [LangSplitField("childName", LangType.en)]
        public string childNameEn { set; get; }

        public string url { set; get; }

        public List<ChildDTO> children { set; get; }
    }
}
